package dir1;

import java.util.LinkedList;

import luchbox.SHOP;

public class Delete {
	private int shopid;
	private String exe;
	private String path;
	private LinkedList<String> outcome = new LinkedList<>();
	
	public int getShopid() {
		return shopid;
	}
	public void setShopid(int shopid) {
		this.shopid = shopid;
	}
	public String getExe() {
		SHOP sh = new SHOP();
		try {
			int x = sh.delete(shopid);				
			if(x==0){
				path = "delete_F.jsp";
			}
			else{
				path = "delete_T.jsp";			
			}
		} catch (Exception e) {
			path = "delete_T.jsp";
		}
		return null;
	}
	public void setExe(String exe) {
		this.exe = exe;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public LinkedList<String> getOutcome() {
		return outcome;
	}
	public void setOutcome(LinkedList<String> outcome) {
		this.outcome = outcome;
	}

}
